package com.visionet.waveletData.web.entity.robot;

import com.visionet.waveletData.web.entity.IdEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * Created by hxpeng on 2017/1/10.
 */

@Entity
@Table(name = "p_robot")
public class Robot extends IdEntity implements Serializable {

    private static final long serialVersionUID = -6046552448074703021L;

    @Column(name = "robot_number", unique = false, nullable = true, insertable = true, updatable = true, length = 32)
    private String robotNumber;

    @Column(name = "company_id", unique = false, nullable = true, insertable = true, updatable = true, length = 32)
    private String companyId;

    @Column(name = "create_by", unique = false, nullable = false, insertable = true, updatable = true, length = 32)
    private String createBy;

    @Column(name = "create_date", unique = false, nullable = false, insertable = true, updatable = true)
    private Date createDate;

    @Column(name = "update_by", unique = false, nullable = false, insertable = true, updatable = true, length = 32)
    private String updateBy;

    @Column(name = "update_date", unique = false, nullable = false, insertable = true, updatable = true)
    private Date updateDate;

    @Column(name = "in_group_id", unique = false, nullable = false, insertable = true, updatable = true, length = 32)
    private String inGroupId;

    public Robot() {
    }

    public String getRobotNumber() {
        return robotNumber;
    }

    public void setRobotNumber(String robotNumber) {
        this.robotNumber = robotNumber;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }


    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getInGroupId() {
        return inGroupId;
    }

    public void setInGroupId(String inGroupId) {
        this.inGroupId = inGroupId;
    }
}
